package cn.bonoon.controllers.schedule;

import java.util.Date;

import cn.bonoon.kernel.annotations.condition.ConditionField;
import cn.bonoon.kernel.annotations.condition.ConditionOpt;
import cn.bonoon.kernel.query.PageCondition;
import cn.bonoon.kernel.util.Opt;

public class ScheduleCondition extends PageCondition implements ScheduleDefine {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4154172954790189084L;

	@ConditionField(value = "executeAt")
	@ConditionOpt(Opt.GE)
	private Date searchStartAt;

	@ConditionField(value = "executeAt")
	@ConditionOpt(Opt.LT)
	private Date searchEndAt;

	public Date getSearchStartAt() {
		return searchStartAt;
	}

	public void setSearchStartAt(Date searchStartAt) {
		this.searchStartAt = searchStartAt;
	}

	public Date getSearchEndAt() {
		return searchEndAt;
	}

	public void setSearchEndAt(Date searchEndAt) {
		this.searchEndAt = searchEndAt;
	}

}
